import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
type int = number;
//class SUrl

export class SUrl {
  public __write(arg1: SerializeStream): void {
    arg1.writeInt(this.type);
    arg1.writeString(this.url);
  }

  public __read(arg1: SerializeStream): void {
    this.type = arg1.readInt();
    this.url = arg1.readString();
    return;
  }

  public /* var */ type!: int;

  public /* var */ url!: string;
}
